/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.oop;

/**
 * <p>Project: app2022 - MyDb
 * <p>Powered by webrx On 2022-01-11 10:27:04
 *
* @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class MyDb  extends Db{

   /**
    * 对你类的show（）重写覆盖
    */
   @Override
   public void show() {
      System.out.println("MyDb.show(子类)");
   }

   public void print(){
      show();
      this.show();

      super.show();

   }

   public void a(String name){
      System.out.println("欢迎："+name);
   }

   public void a(int i){
      System.out.println("年龄:"+i+"岁");
   }

   public int a(int a,int b){
      return a+b;
   }
}
